/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2022-01-24 11:12:33
 * @LastEditors: GGB
 * @LastEditTime: 2022-01-26 10:30:23
 */
export interface BasicPageParams {
  page: number;
  pageSize: number;
}

export interface BasicListParams<T> {
  data: T[];
  last_page?: number;
  offset?: number;
  per_page?: number;
  total?: number;
  current_page?: number;
}

export interface BasicFetchResult<T> {
  items: T[];
  total: number;
  list: BasicListParams<T> | any[];
}
export interface BasicResult {
  code: number;
  message: string;
  status: number;
  userInfo?: any;
  scienceInfo?: any;
}
